package com.spddr.pmos.jpa;

import javax.persistence.DiscriminatorColumn;
import javax.persistence.DiscriminatorType;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

import cn.seqdata.jpa.JpaNoGeneratedObject;

@Entity
@Table(name = "usage_point_info")
@Inheritance(strategy = InheritanceType.JOINED)
@DiscriminatorColumn(name = "type", discriminatorType = DiscriminatorType.INTEGER)
@DiscriminatorValue(value = "11000")
public class UsagePoint extends JpaNoGeneratedObject {
	private static final long serialVersionUID = 1L;

	public UsagePoint() {
		super();
	}

	public UsagePoint(Long id) {
		super(id);
	}

	public UsagePoint(Long id, String name) {
		super(id, name);
	}
}